/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package zombiedefense.framework;

import zombiedefense.map.TileMap;
import java.awt.Graphics2D;

/**
 *
 * @author Laptop2010
 */
public interface GameObject {
    public void expire();
    public boolean isExpired();
    public void draw(Graphics2D g,int drawx,int drawy,TileMap map);
    public void update(long elapsedTime);
    public double getX();
    public double getY();
    public int getWidth();
    public int getHeight();
    public int getZ();
    public boolean isOffScreen(int swidth,int sheight,int drawx,int drawy);
}
